<?php

/**
 * Project form.
 *
 * @package    vogue
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ProjectForm extends BaseProjectForm
{
  public function configure()
  {
      $this->widgetSchema['logo']        = new sfWidgetFormInputFile(array(), array());
      $this->widgetSchema['image']       = new sfWidgetFormInputFile(array(), array());
      
      $this->validatorSchema['aka']      = new sfValidatorPass();
      $this->validatorSchema['logo']     = new sfValidatorFile($this->getFileAttrs('project/logo'), $this->getFileOpts());
      $this->validatorSchema['image']    = new sfValidatorFile($this->getFileAttrs('project/image'), $this->getFileOpts());
  }
}
